/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tamnhat.conn;

import java.sql.Connection;
import java.sql.DriverManager;

/**
 *
 * @author Administrator
 */
public class ConnOrac {
    public static Connection getConn(){
		try{
			Class.forName("oracle.jdbc.driver.OracleDriver");
			return DriverManager.getConnection("jdbc:oracle:thin:@210.211.127.201:1521:sms", "cms_admin_new", "cms_admin");			
		}
		catch (Exception e) {
			e.printStackTrace();
		}		
		return null;
	}
}
